<!--
- @founder   IT柏拉图, https: //weibo.com/itprato
- @author    DedeCMS团队
- @copyright Copyright (c) 2007 - 2021, 上海卓卓网络科技有限公司 (DesDev, Inc.)
--->

<html>
<head>
<meta charset="{dede:global.cfg_soft_lang/}" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>文档批量管理</title>
<meta name="copyright" content="2007-2021 DedeCMS, 上海卓卓网络科技有限公司 (DesDev, Inc.)" />
<link rel="icon" href="/favicon.ico" />
<!-- CSS FILES -->
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/pkg/uikit/css/uikit.min.css" />
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/css/manage.dede.css">
</head>
<body>
<form name="form1" action="content_batchup_action.php" target="stafrm" method="post">
<input type="hidden" name="dopost" value="go">
<!-- 列表头部 -->
<div id="Table_Header_202X2W2X1X292F" class="uk-card uk-card-small uk-card-default" uk-sticky="bottom: #offset">
<div id="Header_1W2T2S2T1V252B" class="uk-card-header">
<div class="uk-grid uk-grid-small uk-text-small">
<span><ul class="uk-breadcrumb"><li><span>文档批量管理</span></li></ul></span>
</div>
</div>
</div>
<!-- /列表头部 -->
<div class="uk-card-body uk-overflow-auto" grid>
<div class="uk-child-width-1-1">
<table class="uk-table uk-table-middle uk-table-divider uk-table-striped uk-margin-remove" >
<tbody>
<tr style="border-top: 0;">
<td>功能选择：</td>
</tr>
</tbody>
</table>
</div>
<div class="uk-form-horizontal uk-padding-small">
<table class="uk-table uk-table-middle uk-margin-remove" >
<tbody>
<tr>
<td width="50%" valign="top" >
<table class="uk-table uk-table-middle uk-margin-remove">
<tbody>
<tr>
<td width="130px">选定栏目：</td>
<td>
<?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1);
echo "<select name='typeid' class='uk-select uk-form-small uk-form-width-medium'>\r\n";
echo "<option value='0' selected>不限栏目...</option>\r\n";
echo $typeOptions;
echo "</select>";
?>
</td>
</tr>
<tr>
<td>起始ID：</td>
<td>
开始：
<input name="startid" type="text" id="startid" class="uk-input uk-form-width-small uk-form-small" >
结束：
<input name="endid" type="text" id="endid" class="uk-input uk-form-width-small uk-form-small" >
</td>
</tr>
<tr>
<td>
<label> <input name="seltime" type="checkbox" class="uk-checkbox" id="seltime" value="1" onClick="ShowHideTime()"> 启用时间筛选 </label>
</td>
<td>
<div id="seltimeField" style="display:none;">
开始：
<div class="uk-inline">
<span class="uk-form-icon uk-icon" uk-icon="icon: calendar4-week"></span>
<input class="uk-input uk-form-width-medium uk-form-small" style="width: 230px;" name="starttime" type="datetime-local" value="<?=GetDateTimeMk(time()-(24*3600*30))?>">
</div> &nbsp;&nbsp;
结束：
<div class="uk-inline">
<span class="uk-form-icon uk-icon" uk-icon="icon: calendar4-week"></span>
<input class="uk-input uk-form-width-medium uk-form-small" style="width: 230px;" name="endtime" type="datetime-local" value="<?=GetDateTimeMk(time())?>">
</div>
</div>
</td>
</tr>
</tbody>
</table>
</td>
<td width="50%" valign="top" style="display: inline;vertical-align: top;">
<table class="uk-table uk-table-middle uk-margin-remove">
<tbody>
<tr>
<td width="130px">用户登录ID：</td>
<td><input name="userid" type="text" id="userid" class="uk-input uk-form-width-small uk-form-small" /> (网址uid=后面跟的id)</td>
</tr>
<tr>
<td>操作：</td>
<td>
<label><input name="action" type="radio" class="uk-radio" id="checkradio" onClick="ShowHideMove()" value="check"
checked='1' />
审核文档</label>
<label style="margin-left: 12px;"><input name="action" type="radio" class="uk-radio" value="makehtml" id="makehtmlradio" onClick="ShowHideMove()" />
更新HTML</label>
<label style="margin-left: 12px;"><input name="action" type="radio" class="uk-radio" value="move" id="moveradio" onClick="ShowHideMove()" />
移动文档</label>
<label style="margin-left: 12px;"><input name="action" type="radio" class="uk-radio" id="delradio" value="del" onClick="ShowHideMove()" />
删除文档</label>
</td>
</tr>
<tr>
<td colspan="2" >
<?php
echo "<span id='moveField' style='display:none'>新位置： ";
echo "<select name='newtypeid' class='uk-select uk-form-small uk-form-width-medium'>\r\n";
echo $typeOptions;
echo "</select> ";
echo " 关键字： <input id='movekeyword' type='text' name='keyword' value='' class='uk-input uk-form-width-small uk-form-small'></span>";
?>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<table class="uk-table uk-table-middle uk-table-divider uk-table-striped uk-margin-remove" >
<tbody>
<tr>
<td>
<a target="stafrm" href="content_batchup_action.php?action=delnulltitle" class="uk-button uk-button-small">删除空标题的文章</a>
<a target="stafrm" href="content_batchup_action.php?action=delnullbody" class="uk-button uk-button-small">删除内容为空的文章</a>
<a target="stafrm" href="content_batchup_action.php?action=modddpic" class="uk-button uk-button-small">更正缩图错误</a>
</td>
<td align="right" >
<button type="submit" class="uk-button uk-button-primary uk-button-small">开始采集网页</button>
</td>
</tr>
</tbody>
</table>
</div>
<iframe name="stafrm" frameborder="0" id="stafrm" class="uk-width-1-1" uk-height-viewport="offset-bottom: true"></iframe>
<!-- 列表底部 -->
<div class="bar-bottom uk-flex uk-light uk-flex-right">
<div class="uk-button-group" style="margin-left: 50px;">
</div>
<div class="e1e02">Copyright &copy; 2007-2021 <a href='http://www.dedecms.com' target='_blank'><u>DedeCMS</u></a>, 上海卓卓网络科技有限公司 (DesDev, Inc.)</div>
</div>
<!-- 列表底部 -->
</form>
<!-- JS FILES -->
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit-icons.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/pkg/jquery/jquery.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/js/dede.manage.min.js"></script>
<script language='javascript'>
function ShowHideTime() {
var selBox = document.getElementById('seltime');
var obj = document.getElementById('seltimeField');
if (selBox.checked) obj.style.display = "block";
else obj.style.display = "none";
}
function ShowHideMove() {
var selBox = document.getElementById('moveradio');
var obj = document.getElementById('moveField');
if (selBox.checked) obj.style.display = "block";
else obj.style.display = "none";
}
</script>
<!-- / JS FILES -->
</body>
</html>
